package com.yra.service;

import com.yra.domain.Product;
import com.yra.util.PageQueryUtil;
import com.yra.util.PageResult;

/**
 * @Author: yrq
 * @Date: Create in 8:44 2019/12/4
 */
public interface ProductService {
    PageResult productListPage(PageQueryUtil pageQueryUtil);

    Product productById(int id);

    PageResult queryProductList(PageQueryUtil pageQueryUtil);

    void insertProduct(Product product);

    void updateProduct(Product product);
}
